﻿@model IEnumerable<Chbl.ViewModels.TeamStandingViewModel>

<table>
    <tr class="font2">
        <th>
            №
        </th>

        <th>
            Команда
        </th>
        <th>
            Побед
        </th>
        <th>
            Поражений
        </th>
        <th>
            Очки
        </th>
        <th>
            Разница мячей
        </th>
        <th>
            Отношение мячей
        </th>
    </tr>

@foreach (var item in Model)
{
    <tr>
         <td>
            @Html.DisplayFor(modelItem => item.Place)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Team.Name)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.WonGames)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.LostGames)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Points)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.BallsDifference)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.BallsFactor)
        </td>

    </tr>
}
</table>
